//首页的所有后台请求接口
import {
	request
} from '@/utils/request.js';

const API_PREFIX = "/store";

export function queryStoreDetail(storeId) {
	return request({
		url: `${API_PREFIX}/query/${storeId}`,
		method: 'GET'
	})
}

export function queryGoodsList(storeId) {
	return request({
		url: `${API_PREFIX}/query/goods/${storeId}`,
		method: 'GET'
	})
}

export function queryCommentList(storeId) {
	return request({
		url: `${API_PREFIX}/query/comment/${storeId}`,
		method: 'GET'
	})
}